/// id : "3"
/// name : "地震"
/// icon : "bdjw/intell_dizhen.png"
/// status : "1"

class IntellCategory {
  IntellCategory({
      String? id, 
      String? name, 
      String? icon,
    int? status,}){
    _id = id;
    _name = name;
    _icon = icon;
    _status = status;
}

  IntellCategory.fromJson(dynamic json) {
    _id = json['id'];
    _name = json['name'];
    _icon = json['icon'];
    _status = json['status'];
  }
  String? _id;
  String? _name;
  String? _icon;
  int? _status;
IntellCategory copyWith({  String? id,
  String? name,
  String? icon,
  int? status,
}) => IntellCategory(  id: id ?? _id,
  name: name ?? _name,
  icon: icon ?? _icon,
  status: status ?? _status,
);
  String? get id => _id;
  String? get name => _name;
  String? get icon => _icon;
  int? get status => _status;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['name'] = _name;
    map['icon'] = _icon;
    map['status'] = _status;
    return map;
  }

}